put line 1 of field "Name and Address" into Address1
put line 2 of field "Name and Address" into Address2
put line 3 of field "Name and Address" into Address3
put line 4 of field "Name and Address" into Address4
hide message box
go "HyperWrite"
if field "Title" is not "<<untitled>>"
then
MakeSure
else
goAhead
end if
end mouseUp
on makeSure
Answer "Document is not new. Add address anyway?" with "OK" or "Cancel"
If it is "OK" then goAhead
end makeSure
on goAhead
set cursor to 4
set lockScreen to true
global Address1
global Address2
global Address3
global Address4
click at 450,5
click at 4,41
set cursor to 4
type return
type " "
doMenu "Paste Text"
type return
type return
put Address1 into line 4 of field "Text"
put Address2 into line 5 of field "Text"
put Address3 into line 6 of field "Text"
put Address4 into line 7 of field "Text"
put "Dear " into line 9 of field "Text"
set lockscreen to false
set cursor to 1
end goAhead
-- part contents for card part 3
----- text -----
Pressing the GO! button below will put a new button on your address stack to make it integrate with HyperWrite. You can sort, find, and browse through your names and addresses as always, but when you click on your new button, it will take the name and address on the last card you looked at and put that name and address in a new HyperWrite document. If you’re using an address stack other than the one Apple provides with HyperCard, you can probably modify this button to work with it. See HyperWrite’s instructions for more information. Contact me if you need help.
Scott Harris, CompuServe 73717,1162; GEnie SCOTT.HARRIS